<h4>MANAJEMEN SPP MAHASISWA &raquo; <span class="current_page">INISIASI SPP MAHASISWA</span></h4>

            <!-- Begin three column window -->
<div class="onecolumn" style="padding-bottom:20px">
    <div class="header">
    <span>INISIASI DATA SPP</span>
	</div>
	<br class="clear"/>


  <div class="content">
   <br />
   <table class="data" width="100%" cellpadding="0" cellspacing="0">
              <tr align="center">
                  <th height="43">No.</th>
                  <th width="40">Angkatan</th>
                  <th width="200">Prodi</th>
                  <th width="140">Jalur Penerimaan</th>
                  <th width="80">Program</th>
                  <th width="120">Angsuran 1</th>
                  <th width="120">Angsuran 2</th>
                  <th width="120">Angsuran 3</th>
                  <th width="50">&nbsp;</th>
              </tr>

              <?php if($viewSpp): ?>

              <?php $seq_number = 1 ?>
              <?php foreach($viewSpp as $spp): ?>
              <tr class="uiTableInit" align="center">
                <td height="42"><?php echo $seq_number ?></td>
                <td><?php echo 2000 + $spp->ANGKATAN ?></td>
                <td><?php echo $spp->NAMA_PRODI ?></td>
                <td><?php echo $spp->DESKRIPSI ?></td>
                <td><?php echo $spp->PROGRAMID ?> - <?php echo $spp->NAMA_PROGRAMID ?></td>
                <td><?php $angsuran1 = $this->keuangan_model->selectSumViewSpp($spp->ANGKATAN,$spp->STATUS_PENERIMAAN,$spp->PROGRAMID,1) ?><?php echo number_format($angsuran1->TOTAL_NOMINAL,0,'','.'); ?> (<a href="<?php echo site_url('siku/DetailAngsuran1/'.$spp->ID.'.do') ?>">detail</a>)</td>
                <td><?php $angsuran2 = $this->keuangan_model->selectSumViewSpp($spp->ANGKATAN,$spp->STATUS_PENERIMAAN,$spp->PROGRAMID,2) ?><?php echo number_format($angsuran2->TOTAL_NOMINAL,0,'','.'); ?> (<a href="<?php echo site_url('siku/DetailAngsuran2/'.$spp->ID.'.do') ?>">detail</a>)</td>
                <td><?php $angsuran3 = $this->keuangan_model->selectSumViewSpp($spp->ANGKATAN,$spp->STATUS_PENERIMAAN,$spp->PROGRAMID,3) ?><?php echo number_format($angsuran3->TOTAL_NOMINAL,0,'','.'); ?> (<a href="<?php echo site_url('siku/DetailAngsuran3/'.$spp->ID.'.do') ?>">detail</a>)</td>
                <td><a href="<?php echo site_url('siku/HapusSpp/'.$spp->ID.'.do') ?>" onclick="return confirm('Anda yakin ingin menghapus ?')">Hapus</a></td>
              </tr>
              <?php $seq_number++ ?>
              <?php endforeach ?>

              <?php else: ?>

              <tr class="uiTableInit" align="left">
                <td height="26">&nbsp;</td>
                <td colspan="8">Data tidak tersedia</td>
              </tr>

              <?php endif ?>

              <?php $disabled = empty($angkatan)? 'disabled="disabled"' : '' ?>
              <tr class="uiTableInit" bgcolor="#d0dafd" align="center">
                <td><button onclick="self.location='<?php echo site_url('siku/tambahSPP.do') ?>'" value="Tambah" type="button" name="tambah" class="sexybutton sexysimple sexysmall">Tambah</button></td>
                <td colspan="8">&nbsp;</td>
               </tr>
   </table>

   <br />
  </div>
</div>